package com.ruoyi.project.declaration.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 工程申报记录对象 project_record
 * 
 * @author Daniel
 * @date 2020-04-01
 */
public class ProjectRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** prid */
    private Long prid;

    /** 工程id */
    @Excel(name = "工程id")
    private Long pId;

    /** 工程名 */
    @Excel(name = "工程名")
    private String pName;

    /** 操作用户id */
    private Long userId;

    /** 操作用户名 */
    @Excel(name = "操作用户名")
    private String userName;

    /** 操作时间 */
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prTime;

    /** 操作名称 */
    @Excel(name = "操作名称")
    private String prName;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String prContent;

    public void setPrid(Long prid) 
    {
        this.prid = prid;
    }

    public Long getPrid() 
    {
        return prid;
    }
    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPrTime(Date prTime) 
    {
        this.prTime = prTime;
    }

    public Date getPrTime() 
    {
        return prTime;
    }
    public void setPrName(String prName) 
    {
        this.prName = prName;
    }

    public String getPrName() 
    {
        return prName;
    }
    public void setPrContent(String prContent) 
    {
        this.prContent = prContent;
    }

    public String getPrContent() 
    {
        return prContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prid", getPrid())
            .append("pId", getpId())
            .append("pName", getpName())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("prTime", getPrTime())
            .append("prName", getPrName())
            .append("prContent", getPrContent())
            .toString();
    }
}
